package com.example.demo.service;

import org.springframework.web.context.request.async.DeferredResult;

public interface CaptchaService {

    DeferredResult<Object> getCaptcha(String userId);

    void postCaptcha(String userId, String code);

    DeferredResult<Object> getCaptchaResult(String userId);


    void postCaptchaResult(String userId, String status);
}
